<%@ page language="java" pageEncoding="UTF-8"%>

<%@ taglib prefix="s" uri="/struts-tags"%>
<s:if test="topics!=null">
	<table id="topics_table">
		<tr>
			<td class="td_1">
				课题名:
			</td>
			<td class="td_2">
				${topics.topicsName }
			</td>
		</tr>
		<tr>
			<td class="td_1">
				课题类别:
			</td>
			<td class="td_2">
				${topics.topicsClass.topicsClassName }
			</td>
		</tr>
		<tr>
			<td class="td_1">
				课题内容:
			</td>
			<td class="td_2">
				${topics.topicsContent }
			</td>
		</tr>
		<tr>
			<td class="td_1">
				课题要求:
			</td>
			<td class="td_2">
				${topics.topicsRequire }
			</td>
		</tr>
		<tr>
			<td class="td_1">
				出题老师:
			</td>
			<td class="td_2">
				${topics.teacher.name }
			</td>
		</tr>
		<s:if test="topics.autiding!=null">
			<tr>
				<td class="td_1">
					审题老师:
				</td>
				<td class="td_2">
					${topics.autiding.name }
				</td>
			</tr>
		</s:if>
		<s:if test="topics.institute!=null">
			<tr>
				<td class="td_1">
					所属研究所:
				</td>
				<td class="td_2">
					${topics.institute.instituteName }
				</td>
			</tr>
		</s:if>
		<s:if test="topics.student!=null">
			<tr>
				<td class="td_1">
					选题学生:
				</td>
				<td class="td_2">
					${topics.student.name }
				</td>
			</tr>
		</s:if>
		<tr>
			<td class="td_1">
				出题日期:
			</td>
			<td>
				${topics.submitTime }
			</td>
		</tr>
		<s:if test="topics.autidingTime!=null">
			<tr>
				<td class="myTopics_1">
					审题日期:
				</td>
				<td class="myTopics_2">
					${topics.autidingTime }
				</td>
			</tr>
		</s:if>
		<s:if test="topics.choiceTime!=null">
			<tr>
				<td class="td_1">
					选题日期:
				</td>
				<td class="td_2">
					${topics.submitTime }
				</td>
			</tr>
		</s:if>
		<s:if test="sign=='detail'">
			<tr>
				<td class="td_1">
					任务书:
				</td>
				<td class="td_2">
					<s:if test="taskFiles!=null">
						<s:iterator value="taskFiles" id="task" status="taskt">
							<div>
								<a href=download.action?url=${task.fileUrl}>${task.fileName}</a>
							</div>
						</s:iterator>
					</s:if>
					<s:else>
						暂无任务书
					</s:else>
				</td>
			</tr>
			<tr>
				<td class="td_1">
					资料:
				</td>
				<td class="td_2">
					<s:if test="resourceFile!=null">
						<s:iterator value="resourceFile" id="resource" status="resourcet">
							<div>
								<a href=download.action?url=${resource.fileUrl}>${resource.fileName}</a>
							</div>
						</s:iterator>
					</s:if>
					<s:else>
						暂无资料
					</s:else>
				</td>
			</tr>
			<tr>
				<td>
					初稿时间点:
				</td>
				<td>



					<s:if test="firstDraftTime!=null">
						${firstDraftTime.p_time }
					</s:if>
					<s:else>
						初稿时间点还未设置
					</s:else>

				</td>
			</tr>
			<tr>
				<td>
					外文类型:
				</td>
				<td>
					<s:if test="languageType!=null">
						<s:if test='languageType == "0"'>
								老师指定
							</s:if>
						<s:else>
								学生指定
							</s:else>
					</s:if>
					<s:else>
							外文类型还未指定
						</s:else>
				</td>
			</tr>
			<s:if test="firstDraft!=null">
				<tr>
					<td>
						开题报告初稿:
					</td>
					<td>
						<a href=download.action?url=${firstDraft.fileUrl}>${firstDraft.fileName}</a>
					</td>
				</tr>
			</s:if>
			<s:if test="lastDraft!=null">
				<tr>
					<td>
						开题报告终稿:
					</td>
					<td>
						<a href=download.action?url=${lastDraft.fileUrl}>${lastDraft.fileName}</a>
					</td>
				</tr>
			</s:if>
			<s:if test="lastDraft!=null">
				<tr>
					<td>
						开题报告答辩结果:
					</td>
					<td>
						<a href=download.action?url=${reportResult.fileUrl}>${reportResult.fileName}</a>
					</td>
				</tr>
			</s:if>
			<tr>
				<td>
					文论纲要时间点:
				</td>
				<td>
					<s:if test="firstDraftTime!=null">
						${firstDraftTime.p_time }
					</s:if>
					<s:else>
						文论纲要时间点还未设置
					</s:else>
				</td>
			</tr>
			<s:if test="paperPlatform!=null">
				<tr>
					<td>
						论文纲要:
					</td>
					<td>
						<a href=download.action?url=${paperPlatform.fileUrl}>${paperPlatform.fileName}</a>
					</td>
				</tr>
			</s:if>
			<s:if test="records!=null">
				<tr>
					<td class="td_1">
						指导记录:
					</td>
					<td class="td_2">

						<s:iterator value="records" id="record" status="st">
							<div>
								<a href=download.action?url=${record.fileUrl}>${record.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="paper!=null">
				<tr>
					<td class="td_1">
						论文:
					</td>
					<td class="td_2">

						<s:iterator value="paper" id="paperc" status="st">
							<div>
								<a href=download.action?url=${paperc.fileUrl}>${paperc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="oneAuditing!=null">
				<tr>
					<td class="td_1">
						一审表:
					</td>
					<td class="td_2">

						<s:iterator value="oneAuditing" id="oneAuditingc" status="st">
							<div>
								<a href=download.action?url=${oneAuditingc.fileUrl}>${oneAuditingc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="twoAuditing!=null">
				<tr>
					<td class="td_1">
						二审表:
					</td>
					<td class="td_2">

						<s:iterator value="twoAuditing" id="twoAuditingc" status="st">
							<div>
								<a href=download.action?url=${twoAuditingc.fileUrl}>${twoAuditingc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="replyRecorder!=null">
				<tr>
					<td class="td_1">
						答辩记录:
					</td>
					<td class="td_2">

						<s:iterator value="replyRecorder" id="replyRecorderc" status="st">
							<div>
								<a href=download.action?url=${replyRecorderc.fileUrl}>${replyRecorderc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="apply!=null">
				<tr>
					<td class="td_1">
						考核表:
					</td>
					<td class="td_2">

						<s:iterator value="apply" id="applyc" status="st">
							<div>
								<a href=download.action?url=${applyc.fileUrl}>${applyc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<s:if test="againReply!=null">
				<tr>
					<td class="td_1">
						再次答辩申请表:
					</td>
					<td class="td_2">

						<s:iterator value="againReply" id="againReplyc" status="st">
							<div>
								<a href=download.action?url=${againReplyc.fileUrl}>${againReplyc.fileName}</a>
							</div>
						</s:iterator>
					</td>
				</tr>
			</s:if>
			<tr>
				<td class="td_1">
					答辩成绩:
				</td>
				<td class="td_2">
					<s:if test='topics.replyScore=="0"'>
					还无成绩
				</s:if>
				<s:elseif test='topics.replyScore=="1"'>
					不及格
				</s:elseif>
				<s:elseif test='topics.replyScore=="2"'>
					及格
				</s:elseif>
				<s:elseif test='topics.replyScore=="3"'>
					中等
				</s:elseif>
				<s:elseif test='topics.replyScore=="4"'>
					良好
				</s:elseif>
				<s:elseif test='topics.replyScore=="5"'>
					优秀
				</s:elseif>
				</td>
			</tr>
		</s:if>

	</table>
</s:if>
